package com.example.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor

public class History {
    private Long id;
    private Long userId;
    private Long typeId;
//    private Integer isLikes;
//    private Integer isCollect;
//    private Integer isForwarding;
    private Integer type;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date viewTime;
}
